<%--
  Created by IntelliJ IDEA.
  User: 29795
  Date: 2025/3/25
  Time: 下午8:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册页面</title>
</head>
<body>
<h1>欢迎用户注册！！！</h1>
<form action="/reg" method="post">
    <label for="username">用户名:</label>
    <input type="text" id="username" name="username" required><br><br>

    <label for="password">密码:</label>
    <input type="password" id="password" name="password" required><br><br>

    <label for="password">did:</label>
    <input type="text" id="did" name="did" required><br><br>

    <label for="password">性别:</label>
    <input type="text" id="info.sex" name="info.sex" required><br><br>

    <label for="password">年龄:</label>
    <input type="text" id="info.age" name="info.age" required><br><br>

    <input type="submit" value="注册">
</form>
</body>
</html>

